package com.rxh.mapper.core;

import com.rxh.mapper.base.BaseMapper;
import com.rxh.pojo.core.ChannelOrderInfo;
import com.rxh.pojo.core.CoreOrderChange;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

public interface ChannelOrderInfoMapper extends BaseMapper<ChannelOrderInfo, Long> {

    ChannelOrderInfo selectByOrderId(Long orderId);

    @MapKey("orderId")
    Map<Long, ChannelOrderInfo> selectByOrderChangesForOperation(List<CoreOrderChange> orderChanges);

    Boolean updateorderInfoProtest(Map<String, Object> paramMap);

    Map<String,Object> getOrderInfo(Long order_id);
}